﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KeywordRuleList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.weixin.Response.KeywordRuleList" %>


<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return navTabSearch(this);" action="/SystemManage/Weixin/Response/KeywordRuleList.aspx">
<%=_framePage.TabInfoHtml()%>

<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/weixin/Response/KeywrodRuleDetail.aspx" target="navTab" rel="KeywrodRuleDetail" title="规则明细"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/weixin/Response/KeywrodRuleDelete.aspx" target="selectedTodo" title="请确定要删除勾选规则"><span>删除</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" targetType="navTab">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="25%">规则名称</th>
				<th width="25%">关键词</th>
				<th width="10%">全匹配</th>
				<th width="25%">回复素材</th>
				<th width="15%" align="center">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td><%# Eval("RuleTitle")%></td>
				    <td><%# Eval("RequestKeyword")%></td>
				    <td><%# ParamKit.GetValue("YesNo_10", Eval("FullMatch"), "&nbsp;")%></td>
				    <td><%# GetMaterial(Container.DataItem)%></td>				 
				    <td align=center>
				        <a href="/SystemManage/weixin/Response/KeywrodRuleDetail.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" rel="KeywrodRuleDetail" title="规则明细">编辑</a>&nbsp;&nbsp;
				        <a href="/SystemManage/weixin/Response/KeywrodRuleDelete.aspx?ids=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="ajaxTodo" title="请确定要删除当前规则">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>

<%= _framePage.GetPagerContentHtml() %>

</div>
</form>


